package org.csu.jpetstorespringversion.model;

import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import org.springframework.stereotype.Repository;

@Data
@Repository
@TableName(value = "sequence")
public class Sequence {
    private String name;
    private int nextId;

    public Sequence(){}
    public Sequence(String name, int nextId) {
        this.name = name;
        this.nextId = nextId;
    }
}
